{% if reply %}
    {% set external_url = url_for('blog.show_post', post_id=comment.post_id, _external=True) + '#comments' %}
    <p>New reply for the comment you left in post <strong>{{ comment.post.title }}</strong></p>
{% else %}
    {% set external_url = url_for('blog.show_post', post_id=post.id, _external=True) + '#comments' %}
    <p>New comment in post <strong>{{ post.title }}</strong></p>
{% endif %}

click the link below to check:


<p><a href="{{ external_url }}">{{ external_url }}</a></p>

<p><small style="color:mediumvioletred">Do not reply this email.</small></p>
